Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the column name to the tooltip on data viewer #1278

Merged
merged 1 commit into from
Dec 17, 2022

Conversation

eitsupi
Copy link
Contributor

@eitsupi eitsupi commented Dec 17, 2022

What problem did you solve?

Related to #1121
When a data frame with many columns is displayed in the data viewer, the column names may not be readable due to column width limitations.
Display the column name in the tooltip so that we can see the column name.

(If you have)Screenshot

image

(If you do not have screenshot) How can I check this pull request?

n <- 1000
df <- data.frame(id = 1:n)
for (i in 1:100) {
  df[[paste0("loooooooooooooooooooooooong", i)]] <- rnorm(n)
}

View(df)

Copy link
Member

@renkun-ken renkun-ken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@renkun-ken renkun-ken merged commit dc5be83 into REditorSupport:master Dec 17, 2022
@eitsupi eitsupi deleted the tooltip-col-name branch December 17, 2022 16:20
@eitsupi
Copy link
Contributor Author

eitsupi commented Dec 17, 2022

Thank you for merging!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants